from django.contrib import admin
from .models import UserProfile


# Register your models here.
# 在后台管理中显示的字段
@admin.register(UserProfile)
class UserProfileAdmin(admin.ModelAdmin):
    list_display = ("user_code", "username", "mobile", "birthday", "gender", "email", "tag", "update_time")
    search_fields = list_display
    list_filter = list_display
